passthrough: remove pointless error checks
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:06:46 +0000 (09:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Sep 2009 08:06:46 +0000 (09:06 +0100)
commitc331a144c096479bc2d55973523f37f572b7f396
treec159c37a189930053e6a3b524da4b15eb4d8f91c
parentdaf7926d53f6c60f6e5d4116720db70535cbb598
passthrough: remove pointless error checks

map_domain_page() cannot return NULL. And if it could, both instances
changed here would leak memory in such a case.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h